(authors): Expand `root' before running
authorDave Love <fx@gnu.org>
Fri, 9 Feb 2001 15:11:47 +0000 (15:11 +0000)
committerDave Love <fx@gnu.org>
Fri, 9 Feb 2001 15:11:47 +0000 (15:11 +0000)
find.

lisp/emacs-lisp/authors.el

index e818ca88d6c3fc01f96ba2b4e37d5d186da3b7d7..909f741f88c7fdc8c6435cbc892f626283d2ce96 100644 (file)
@@ -428,10 +428,10 @@ ROOT is the root directory under which to find the files.  If called
 interactively, ROOT is read from the minibuffer.  Result is a
 buffer *Authors* containing authorship information."
   (interactive "DEmacs source directory: ")
+  (setq root (expand-file-name root))
   (let ((logs (authors-process-lines "find" root "-name" "ChangeLog*"))
        (table (make-hash-table :test 'equal))
        (buffer-name "*Authors*"))
-    (setq root (expand-file-name root))
     (authors-add-fixed-entries table)
     (unless (file-exists-p (expand-file-name "src/emacs.c" root))
       (error "Not the root directory of Emacs: %s" root))